/**************************************************
 *                   基本图形
 *************************************************/
//图元类型
export enum TupleType {
  TEXT_TYPE = 'tuple-text',
  LINE_TYPE = 'tuple-line',
  LINE_ARROW_TYPE = 'tuple-line-arrow',
  RECT_TYPE = 'tuple-rect',
  CIRCLE_TYPE = 'tuple-circle',
  DOUBLE_CIRCLE_TYPE = 'tuple-double-circle',
  TRIANGLE_TYPE = 'tuple-triangle',
  ELLIPSE_TYPE = 'tuple-ellipse',
  EQUAL_POLYGON_TYPE = 'tuple-equal-polygon',
  IMAGE_TYPE = 'tuple-image',
  TEXT_BORDER
}

// 基本图元组件样式
export interface CTuplePropertyItem {
  title?: string,     //文本
  fontSize?: number,  //字体大小

  cr?: number,       //圆角半径
  internR?: number,  //双圆内圆半径
  externR?: number,  //双圆外圆半径

  sides?: number,     //正多边形边数
  radius?: number,    //正多边形外切圆半径

  imgURL?: string,      //图片URL地址
  row?: number,
  column?: number,

  borderColor: string, //公共属性，线色
  borderWidth: number, //公共属性，线宽
  fillColor: string,   //公共属性，填充颜色
}
